package com.mm.mindmap.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @BelongsProject: 3.mindMap_ai
 * @BelongsPackage: com.unfbx.dto
 * @Author : 游在海里的鱼
 * @CreateTime : 2024-05-02  22:15
 * @Version : 1.0
 * @ClassName : TODO
 * @Description : TODO
 */
@Data
public class MindMapListDTO {
    private Long id;
    private Long uid;
    private Byte state;
    private Byte isTop;
    private String title;
    private String image;
    private String avatar;
    private Integer like;
    private Integer view;
    private Integer collect;
    @JsonFormat( pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    //修改时间
    @JsonFormat( pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value = "updateTime")
    private Date updateTime;
}
